<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./js/vue.js"></script>
    <link rel="stylesheet" href="./css/test.css">
    <title>v-show和display的优先级问题</title>
    <style>
        /* .in{
            width: 200px;
            height: 200px;
            background-color: aquamarine;
            display: none;
        } */
    </style>
</head>
<body>
    <div id="root">
        <div class="in" v-show="show"></div>
    </div>

    <script>
        const vm = new Vue({
            data() {
                return {
                    show:true
                }
            },
        }).$mount('#root')
    </script>
</body>
</html>